package pers.ascend.spring.cloud.dalston.service.governance.zookeeper.client.manage.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 说明：
 *
 * @author ascend
 * 2021/3/9 11:19
 */
@RestController
@RequestMapping(value = "/client")
public class ClientController {
    protected final Logger log = LoggerFactory.getLogger(getClass());

    @GetMapping(value = "/hello")
    public String hello() {
        if (log.isInfoEnabled()) {
            log.info("ClientController.hello()");
        }
        return "world";
    }
}
